.tool-panel {
  width: 240px;
  background: linear-gradient(135deg, #161b22, #21262d);
  border-right: 1px solid #30363d;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tool-panel-title {
  font-size: 18px;
  font-weight: 600;
  color: #f0f6fc;
  margin-bottom: 8px;
  border-bottom: 2px solid #30363d;
  padding-bottom: 8px;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: #21262d;
  border: 1px solid #30363d;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #c9d1d9;
  font-size: 12px;
}

.tool-btn:hover {
  background: #30363d;
  border-color: #58a6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
}

.tool-btn.active {
  background: linear-gradient(135deg, #1f6feb, #0969da);
  border-color: #58a6ff;
  color: white;
  box-shadow: 0 4px 12px rgba(31, 111, 235, 0.3);
}

.tool-icon {
  font-size: 20px;
  line-height: 1;
}

.tool-name {
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.tool-info {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 12px;
}

.current-tool {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.current-tool .label {
  color: #8b949e;
  font-weight: 500;
}

.current-tool .value {
  color: #58a6ff;
  font-weight: 600;
}

.help-section {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 16px;
}

.help-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: #f0f6fc;
  margin-bottom: 12px;
  border-bottom: 1px solid #30363d;
  padding-bottom: 6px;
}

.help-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-list li {
  font-size: 12px;
  color: #8b949e;
  padding: 4px 0;
  position: relative;
  padding-left: 16px;
}

.help-list li::before {
  content: "•";
  color: #58a6ff;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .tool-panel {
    width: 200px;
    padding: 16px;
  }
  
  .tool-grid {
    grid-template-columns: 1fr;
  }
  
  .tool-btn {
    padding: 10px 6px;
  }
  
  .tool-icon {
    font-size: 18px;
  }
  
  .tool-name {
    font-size: 11px;
  }
} 